import com.xiongwei.protocol.HttpClient;
import com.xiongwei.protocol.InvocationParam;

public class Consumer {

    public static void main(String[] args) {

        InvocationParam invocationParam = new InvocationParam(HelloService.class.getName(), "hello",
                new Class[]{String.class}, new Object[]{"xiongwei"});

        String result = HttpClient.send("127.0.0.1", 8080, invocationParam);

        System.out.println(result);


    }
}
